package com.gxkj.projects.myshopx.services;

import com.gxkj.common.exceptions.ValidateException;
import com.gxkj.common.utils.ListPager;
import com.gxkj.projects.myshopx.entitys.Suppliers;
import com.gxkj.projects.myshopx.entitys.User;


public interface SuppliersService {

    public void doAddSuppliers(User user , Suppliers entity) throws ValidateException;

    public void doUpdateSuppliers(User user , Suppliers entity) throws ValidateException;

    public void doDeleteSuppliers(User user, String id);

    public ListPager<Suppliers> doPageHQL(int pagenNo, int pageSize, Suppliers entity);

    public Suppliers getById(String id);

    public void doAddTrans();
}
